package cn.codeforfun.gitee.bean.repo.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author wangbin
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class GiteeNamespace {
    private Integer id;
    /**
     * 项目类型
     * <p>
     * group:组织
     * enterprise:企业
     * personal:个人
     */
    private String type;
    private String name;
    private String path;
    @JsonProperty("html_url")
    private String htmlUrl;

    private GiteeNamespace parent;
}
